package com.taotao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class Category {
    // 分类ID
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    // 分类名称
    @TableField(value = "category_name")
    private String categoryName;
}
